package com.esteel.settlement.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


/**
 * The persistent class for the TB_SETT_OUTMONEY database table.
 * 
 */
@Entity
@Table(name="TB_SETT_OUTMONEY")
@NamedQuery(name="TbSettOutmoney.findAll", query="SELECT t FROM TbSettOutmoney t")
public class TbSettOutmoney implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="TB_SETT_OUTMONEY_INID_GENERATOR", sequenceName="SEQ_SETT_OUTMONEY",allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="TB_SETT_OUTMONEY_INID_GENERATOR")
	@Column(name="OUT_ID")
	private long outId;

	private String address;

	@Column(name="CCY_CODE")
	private String ccyCode;

	@Column(name="COUNTER_ID")
	private String counterId;

	@Column(name="CUST_ACCT_ID")
	private String custAcctId;

	@Column(name="FEE_OUT_CUST_ID")
	private String feeOutCustId;

	@Column(name="HAND_FEE")
	private double handFee;

	@Column(name="LOG_NO")
	private String logNo;

	@Column(name="OUT_ACCT_ID")
	private String outAcctId;

	@Column(name="OUT_ACCT_ID_BANK_CODE")
	private String outAcctIdBankCode;

	@Column(name="OUT_ACCT_ID_BANK_NAME")
	private String outAcctIdBankName;

	@Column(name="OUT_ACCT_ID_NAME")
	private String outAcctIdName;

	private int sender;

	@Column(name="SUP_ACCT_ID")
	private String supAcctId;

	@Column(name="THIRD_CUST_ID")
	private String thirdCustId;

	@Column(name="TRAN_AMOUNT")
	private double tranAmount;

	@Column(name="TRAN_STATUS")
	private int tranStatus;

	@Column(name="TRAN_TYPE")
	private int tranType;

	@Column(name="TRAN_WEB_NAME")
	private String tranWebName;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="ACCT_DATE")
	private Date acctDate;
	
	public TbSettOutmoney() {
	}

	public long getOutId() {
		return this.outId;
	}

	public void setOutId(long outId) {
		this.outId = outId;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getCcyCode() {
		return this.ccyCode;
	}

	public void setCcyCode(String ccyCode) {
		this.ccyCode = ccyCode;
	}

	public String getCounterId() {
		return this.counterId;
	}

	public void setCounterId(String counterId) {
		this.counterId = counterId;
	}

	public String getCustAcctId() {
		return this.custAcctId;
	}

	public void setCustAcctId(String custAcctId) {
		this.custAcctId = custAcctId;
	}

	public String getFeeOutCustId() {
		return this.feeOutCustId;
	}

	public void setFeeOutCustId(String feeOutCustId) {
		this.feeOutCustId = feeOutCustId;
	}

	public double getHandFee() {
		return this.handFee;
	}

	public void setHandFee(double handFee) {
		this.handFee = handFee;
	}

	public String getLogNo() {
		return this.logNo;
	}

	public void setLogNo(String logNo) {
		this.logNo = logNo;
	}

	public String getOutAcctId() {
		return this.outAcctId;
	}

	public void setOutAcctId(String outAcctId) {
		this.outAcctId = outAcctId;
	}

	public String getOutAcctIdBankCode() {
		return this.outAcctIdBankCode;
	}

	public void setOutAcctIdBankCode(String outAcctIdBankCode) {
		this.outAcctIdBankCode = outAcctIdBankCode;
	}

	public String getOutAcctIdBankName() {
		return this.outAcctIdBankName;
	}

	public void setOutAcctIdBankName(String outAcctIdBankName) {
		this.outAcctIdBankName = outAcctIdBankName;
	}

	public String getOutAcctIdName() {
		return this.outAcctIdName;
	}

	public void setOutAcctIdName(String outAcctIdName) {
		this.outAcctIdName = outAcctIdName;
	}

	public int getSender() {
		return this.sender;
	}

	public void setSender(int sender) {
		this.sender = sender;
	}

	public String getSupAcctId() {
		return this.supAcctId;
	}

	public void setSupAcctId(String supAcctId) {
		this.supAcctId = supAcctId;
	}

	public String getThirdCustId() {
		return this.thirdCustId;
	}

	public void setThirdCustId(String thirdCustId) {
		this.thirdCustId = thirdCustId;
	}

	public double getTranAmount() {
		return this.tranAmount;
	}

	public void setTranAmount(double tranAmount) {
		this.tranAmount = tranAmount;
	}

	public int getTranStatus() {
		return this.tranStatus;
	}

	public void setTranStatus(int tranStatus) {
		this.tranStatus = tranStatus;
	}

	public int getTranType() {
		return this.tranType;
	}

	public void setTranType(int tranType) {
		this.tranType = tranType;
	}

	public String getTranWebName() {
		return this.tranWebName;
	}

	public void setTranWebName(String tranWebName) {
		this.tranWebName = tranWebName;
	}

	public Date getAcctDate() {
		return acctDate;
	}

	public void setAcctDate(Date acctDate) {
		this.acctDate = acctDate;
	}

}